package com.assignwork.service;

import com.assignwork.dto.AssignWorkDTO;
import com.assignwork.vo.AssignWorkVO;
import org.springblade.core.mp.base.BaseService;
import com.assignwork.entity.AssignWork;
import org.springblade.core.secure.BladeUser;

import java.util.List;

/**
 * 二级配工(AssignWork)表服务接口
 */
public interface IAssignWorkService extends BaseService<AssignWork> {

    boolean saveOrUpdateAssignWork(BladeUser bladeUser, List<AssignWorkDTO> dtos);

    List<AssignWorkVO> listAssignWork(BladeUser bladeUser, AssignWorkDTO dto);

    List<AssignWorkVO> listAssignWorkByArrangeId(Long arrangeId);
}
